package bookstore.service;

import java.util.List;

import bookstore.domain.Book;
import bookstore.domain.Order;

public interface Host {
	List<Book> stockList();            //HOST_STOCK_LIST(211)
	boolean stockAdd();                //HOST_STOCK_ADD(212)
	Book stockModify(Book book);       //HOST_STOCK_MODIFY(213)
	boolean stockDel(int code);        //HOST_STOCK_DEL(214)
	Book stockView(int code);          //HOST_STOCK_VIEW(215)
	
	List<Order> sellList();            //HOST_SELL_LIST(221)
	int sellTotal();                   //get total price of book sold.
	boolean sellSend(int orderCode);   //HOST_SELL_SEND(222)
	boolean sellCancel(int orderCode); //HOST_SELL_CANCEL(223)
	boolean sellAdd(Order order);      //HOST_SELL_ADD(224)
}